Script returns non-zero on errors

Currently candlepin won't install due to missing dependency, but setup.rb
returns 0 all the time. Since I integrated this into BATS testing framework,
this is unacceptable and we need to fix this.

Please test this if it works for you.