That's not going to give me a list of repos for the currently logged in user, or am I reading it wrong?

I want a list of repos to see if an existing fork exists either within the user's own space, or within the organisation he selected for the fork. The else-part on that if does the same thing for organisations, it gets a promise that eventually delivers a list of repos.