disallowed submodule url

Repocheck failes:

/var/log/gitlab/gitlab-rails/repocheck.log
ERROR -- : my_group/my_project: Could not fsck repository: error in blob eb87a57adefc985514ddc8ae1fa4e6749c7d8211: gitmodulesUrl: disallowed submodule url: https://gitlab.example.com:my_group/my_project.git
gitlab.rb
    gitaly['configuration'] = {
         git: {
          config: [
            { key: "fetch.fsck.gitmodulesUrl", value: "ignore" },
            { key: "fsck.gitmodulesUrl", value: "ignore" },
 
          ],
         },
    }
sudo gitlab-ctl reconfigure