Valid point. I'm not sure if we're supposed to use only (or mostly) local commands on Chief scripts though. Maybe that's related to logging somehow.

In any case I updated the code to use urllib(2) also handling exceptions to avoid stopping the push in case of newrelic error.