Sync install_venv_common from oslo

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