Strip the correct return value from rev parse
Strip the correct return value from rev parse

The run_command() function now returns a tuple of stdout and stderr,
so its result cannot be directly manipulated as a string.

Change-Id: Ifea1c56046e74db7531cd8a687a9591424df5d6c

coolsvap/project-config,anbangr/osci-project-config,citrix-openstack/project-config,openstack-infra/project-config,Tesora/tesora-project-config,dongwenjuan/project-config,anbangr/osci-project-config,openstack-infra/project-config,Tesora/tesora-project-config,noorul/os-project-config,noorul/os-project-config,citrix-openstack/project-config,dongwenjuan/project-config,coolsvap/project-config