PUPPET-123 Fix broken shell
PUPPET-123 Fix broken redirect to stderr