unpack-trees: improve loading of .gitmodules