Fix to detection of existing virtualenv