fixes #5846 in master 3.0
Merge pull request #5859 from dotCMS/issue-5846-push-publish-workflow-fails-in-master-3-0

fixes #5846 in master 3.0