See [above](https://github.com/gitlabhq/gitlabhq/pull/6610/files#r10973700)