terminal: Check for script existence properly before activating it (#23476)
Piotr Osiewicz
created
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.