Fixed virtualenv profile check