Rework update-alternative checks to match openSUSE policy

(bnc#826993)