Sync install_venv_common from oslo

Change-Id: I74ab14534d80b33f5b9eb1b2200facf82b6d9504