Fix retrieval of a user's repositories.

The repositories which a user is member of a team with permissions were not selected.