Correction of mishandled exit status in check_puppet.rb.
Additionnaly removes a typo.