Actually, now that I think about for a moment, this is silly. There is already a function called `git_path_is_empty_dir` that can be used in place of this logic. I'll fix that up in a later commit.