Sync install_venv_common from oslo.

Change-Id: Ic7d71c90d39370810e95efa592f00e936c5204f0
Merge "Sync install_venv_common from oslo."