terminal: Check for script existence properly before activating it (#23476)

We were not covering a variant where the returned metadata was Ok(None)

Closes #ISSUE

Release Notes:

- Fixed venv activation script path showing up in terminal for
non-existant scripts.
11bb906520Piotr Osiewicz committed on 1/23/2025, 11:32:21 AM· committed by GitHubparent91b0ca0
1 file changedLine totals unavailable