Refactor virtual env requirement to use the pip.locations func
Merge pull request #1400 from dstufft/refactor-require-virtualenv

Refactor virtual env requirement to use the pip.locations func