Can be removed after https://gitlab.com/gitlab-org/gitlab-ce/commit/650d0bc695eb0f874561b8d4ed3fc86510573fba