See - https://gitlab.com/gitlab-org/gitlab-ce/issues/27262 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10324