Fix panic due to `ThemeRegistry::global` call in remote server (#39111)

Fixes ZED-1PV

Note: Nightly only panic

Release Notes:

- N/A *or* Added/Fixed/Improved ...
9aa5817b85Ben Kunkle committed on 9/29/2025, 2:24:17 PM· committed by GitHubparent28cc39a
1 file changedLine totals unavailable