Fix git-version-gen without git on path.