Now pip.locations.running_under_virtualenv returns True in a pyvenv-virtual-enviroment.