Fix error detection in puppet apply

Puppet apply doesn't log to stderr with the log option