Sync install_venv_common from oslo

Change-Id: Iadcfa6d00b963a19ce15300b2293036cf0e8204b