Merge pull request #2164 from libgit2/cmn/refs-delete-iteration refdb: catch a directory disappearing