[BUGFIX] XCLASS breaks with direct_mail 4.0-dev

Change-Id: Ib05db7055b825b41c882bc7d793dcd6995c746fa
Fixes: #58634
Reviewed-on: https://review.typo3.org/29940
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers