refactor and add printIssue method
print repo name if repo is not primary