Sync install_venv_common from oslo

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