Handle errors when executing zypper, run a zypper refresh before list-patches