remote: Fix `detect_can_exec` detection (#42087)

Closes https://github.com/zed-industries/zed/issues/42036

Release Notes:

- Fixed an issuer with wsl exec detection eagerly failing, breaking
remote connections
e75c6b1aa5Lukas Wirth committed on 11/6/2025, 12:06:32 PM· committed by GitHubparent149eedb
1 file changedLine totals unavailable