INT-3445: Fix `PublisherRegistrar` NPE

JIRA: https://jira.spring.io/browse/INT-3445

**Cherry-pick to 4.0.x**