When rewriting git submodule URLs on targets to point at deploy server, it looks like the submodule name and url is overwritten with the checkout path, instead of the actual path to the module in the .git/modules dir.
[@tin:/srv/deployment/eventlogging/eventbus]$ cat .gitmodules [submodule "config/event-schemas"] path = config/schemas url = https://gerrit.wikimedia.org/r/mediawiki/event-schemas [@tin:/srv/deployment/eventlogging/eventbus] (master)[4c422c3] ± ls .git/modules/config/ event-schemas
[@kafka1002:/srv/deployment/eventlogging/eventbus]$ cat .gitmodules [submodule "config/schemas"] path = config/schemas url = http://tin.eqiad.wmnet/eventlogging/eventbus/.git/modules/config/schemas
http://tin.eqiad.wmnet/eventlogging/eventbus/.git/modules/config/schemas is not the proper path on tin to the submodule. It should be 'http://tin.eqiad.wmnet/eventlogging/eventbus/.git/modules/config/event-schemas`.