INT-3407: Fix TX-sync-processor potential NPE

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