Fix computation of update candidate (bnc#834858)

Update candidate must come from the highest priority repo among all
available update candiates, not to the highest priority repo at all.
changes 11.13.5 (6)