MULE-8129: Fixing NPE when a config is present but not a listener.
Merge pull request #1290 from mulesoft/MULE-8129

MULE-8129: Fixing NPE when a config is present but not a listener.