Fix iterating user/private repositories code
mock -> double