submodule loading: separate code path for .gitmodules and config overlay