Autodevops may generate too long labels for hostnames

I am using the current version of gitlab ce (11.9.1). I just noticed, that the review stage of autodevops may automatically produce labels, which are too long for valid urls.
This happens in the case of a nested structure of subgroups or very long project names.
The corresponding line is most likely: lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml · master · / GitLab FOSS · GitLab

Any ideas on how this can be circumvented, apart from a different project/group structure?