Wrapping the venv sourcing in a conditional.