Fix so that rake/ci task exits with a proper code (and thus fails when it should fail)