pypa/virtualenv — pull request #674 by mgedmin (2014-12-03 11:10:40+00:00)
Title: Fix sys.path manipulation

Fixes #671, #673. Supersedes #672.

base64 should be imported *after* sys.path manipulation -- not doing
this causes #671.

sys.path is fixed up at the top level (since commit dde220efe38b99020),
doing it again in copy_required_modules() breaks things -- this is #673.
This makes the try/finally to restore the old sys.path unnecessary,
which produces the gnarly diff :/