Subgit deletes tags created in git

We use Subgit for syncing some projects in an SVN repository. Now we are syncing a new project and everything looks good. But if we create a new tag in Git, the tag gets deleted by Subgit. That’s not the case for the other projects.

We even tried to disable subgit to see, if anything else is the problem. But in this case the tag is kept. But as soon as we run subgit fetch, the tag is deleted:

Fetching revisions from SVN repository:
Updating refs:
- [deleted]         Test
Sync completed successfully

Other changes are synced and it also works for other repositories.

Do you have any idea, what the problem could be?

This problem occurs with every new project we have. So we dug deeper and it seems that the hooks are not installed properly. We use GitLab (version 17.10) and subgit configure doesn’t seem to detect that GitLab is used. It then installs the hooks into the hooks directory, but thos are overruled by GitLab.
When we manually add

[hooks]
directory = custom_hooks

To the config and rerun subgit install the tags are transmitted correctly. Because the hooks are installed in a separate directory.

Maybe someone could check the detection mechanism for current GitLab versions.