cast to bool required for return of setCandidate() (because libzypp
changes to use explicit bool operator)