Check `yum check-update` exit code, instead of `grep` - when there are multiple commands on the single line, $? contains exit code of the last executed. Fixes QubesOS/qubes-issues#1475