Merge pull request #3344 from libgit2/cmn/add-unreg-submodule index: stage an unregistered submodule as well