Better deal with empty repo list and unauthorised Github.