Ensure that the first added admin performs repository imports

王权利请求将github/fork/jvanbaarsen/pr/9061合并到master

Created by: jvanbaarsen

This is a fixup from https://github.com/gitlabhq/gitlabhq/pull/9061. I added the changelog entry, so we can merge it in.

/cc @randx

合并请求报告