patch applied (cabal-install): Use exitFailure rather than exitWith (ExitFailure 1)