HOSTDEV-1115 added a test-case plus a fix
HOSTDEV-1115 better handling of virtualenv environments in bootstrap.py