Fix raising exception when zypper command fails
Fail if we get ZYPPER_EXIT_INF_RESTART_NEEDED too often

We were succeeding, which is probably not what we want.