Fix git version detection when executing in foreign git repository