[bug 1035319] Added check for virtualenv.