[bug 1035319] Fixed virtualenv sourcing issues.