Sync install_venv_common from oslo

Change-Id: I4c14c9907d6195ab4f50ab9351ab14e4d93c4ec2
Merge "Sync install_venv_common from oslo"