submodule: support reading .gitmodules when it's not in the working tree