It's not about one-liners, it's about comprehensibility and future maintenance IMO. How about this?

```erlang
lists:foldr(fun(E, Acc) ->
                    case parse_webhook(E) of
                        undefined -> [Acc];
                        Hook -> [Hook|Acc]
                    end
            end, [], rt_config:get(webhooks, []))
```