[Redmine] Fix error when the list of retrieved issues is empty