Improve output of Rake task if check failed

* Do not print out result a second time.
* Do not raise an exception, just exit with 1.

This is close to what RSpec's Rake task does:
https://github.com/rspec/rspec-core/blob/master/lib/rspec/core/rake_task.rb