fix case if git is not present