fixes #5799 in master 2.5
Merge pull request #5831 from dotCMS/issue-5799-file-asset-missing-in-sender-after-retry-bundle-push-publishing

fixes #5799 in master 2.5