builtin/fetch: factor submodule recurse parsing out to submodule config