remote: Fix open terminal fails when $SHELL is not set (#41990)

Closes #41644

Release Notes:

- Fixed issue where it failed to spawn terminal on systems such as
Alpine.
2bc1d60c52Smit Barmase committed on 11/5/2025, 12:45:15 PM· committed by GitHubparent17933f1
1 file changedLine totals unavailable