Don't try to open submodules for a bare repository