Sync install_venv_common from oslo

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