There are repos in the response that don't have permissions key which leads to an unhandled TypeError.