- when using a repo from an organisation the owner.login field is null. Try to fetch the owner name from html_url instead which doesn't rely on the owner object - fixes exception and issue #18365
- fix isUserMemberOfOrganization method by using the org.hasMember method instead of iterating over the members array (the latter didn't seem to return all members of an organisation in some circumstances)
fix forgotten variable change and logging
Merge branch 'fixorganisation'