Fixes #5381 easy_install bug when used with virtualenv
Merge pull request #5383 from janitha/devel

Fixes #5381 bug when easy_install is used with virtualenv