project: Remove unnecessary panic (#42167)

If we are in a remote session with the remote dropped, this path is very
much reachable if the call to this function got queued up in a task.

Fixes ZED-124

Release Notes:

- N/A *or* Added/Fixed/Improved ...
de1bf64f41Lukas Wirth committed on 11/7/2025, 6:56:19 AM· committed by GitHubparent00eafe6
1 file changedLine totals unavailable