Fix problems if .git_perm_cache doesn't exist