Fixes #462, this fixes the virtenv logic to work correctly