Fix obtaining virtualenv envs on Linux (PY-21055)