Allow version_check to work on local git repo
Allow version_check to work on local git repo

Same method we use for build.py

TrivialFix

Change-Id: Ib2a7bbfb8349c473e6fdbacbba239985b05ec0bd

intel-onp/kolla,toby82/kolla,stackforge/kolla,GalenMa/kolla,nihilifer/kolla,toby82/kolla,negronjl/kolla,rahulunair/kolla,openstack/kolla,intel-onp/kolla,mandre/kolla,openstack/kolla,toby82/kolla,dardelean/kolla-ansible,coolsvap/kolla,mrangana/kolla,negronjl/kolla,dardelean/kolla-ansible,coolsvap/kolla,rahulunair/kolla,negronjl/kolla,nihilifer/kolla,dardelean/kolla-ansible,mrangana/kolla,tonyli71/kolla,mandre/kolla,tonyli71/kolla,stackforge/kolla,stackforge/kolla,coolsvap/kolla,mandre/kolla,GalenMa/kolla