Don't crash template generation after compile-time error

Currently after a compile-time error caused by eg. a raise or exit, will cause the chef-handler-mail template generation to crash with: 
```
Report handler MailHandler raised #<NoMethodError: undefined method `each' for nil:NilClass>
```