Merge pull request #3719 from libgit2/ethomson/submodule_status WD iterator: properly identify submodules