fix(githubService): prevent error when detecting type of GH issue.