Fixed git-info breaking when the current folder is not versioned by git