Sync install_venv_common from oslo

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