Pull request for #658 

fixed fetchLabelsRO() test in IssueTest, which failed because it violated the condition "repository should never be NULL"