Fixed file checking for virtualenvwrapper.