Let's rename this to `git_futils_cleanup_dir`. `emptydir_r` sounds like a recursive check to see if the directory is empty.