Adapt pip.locations.running_under_virtualenv