Add more unit test coverage

This [line](https://github.com/joomla-framework/github-api/blob/master/src/Package/Issues.php#L54) was not covered by unit tests...