Fix error handling in Base.downgrade and YumBaseCli.downgradePkgs.
Fix error handling in Base.update and YumBaseCli.updatePkgs.