Fix error in find_git_dirty