Partial revert of 5d59a15faf67d921dfb190195c07bf4a70bca137.

Error out if "pre-remove" script action fails, otherwise package is
removed but its files are still there (ouch).