https://github.com/gitlabhq/gitlabhq/pull/4399