project: Remove unnecessary panic (#42167) (cherry-pick to preview) (#42168)

zed-zippy[bot] and Lukas Wirth created

Cherry-pick of #42167 to preview

----
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 ...

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Change summary

crates/project/src/lsp_store.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes