CLOUDIFY-1851 avoid NPE on listeners invocation