Bug 981107: check exit codes more carefully in puppetize.sh; r=arich