Rename os exception.
Modify PYTHON only when packages from virtualenv are found