Handle github api response that isn't valid json
Merge branch 'topic/HandleNonJsonResponses' into develop
Add test coverage for #182