OK, I guess on reread the code is looking quite ugly to me. What do you think about?
```erlang
Hooks = [parse_webhooks(E) || E <- rt_config:get(webhooks, [])],
[Hook || Hook <- Hooks, Hook =/= undefined].
``