This fixes the broken master because of https://gitlab.com/gitlab-org/gitlab-ee/issues/12313
Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/12313