More tiny cleanups for `repositories()` GraphQL query
Created by: mrnugget
This does not change any behaviour, it only moves code around, formats it, etc.
Next step is that I'm going to remove (*UsersResolver).Repositories
which makes it easier to refactor the repositories resolver.
Test plan
- Existing tests