submodule.c: remove some of the_repository references