fetch: skip on-demand checking when no submodules are configured