fixes #2780
realfix #2780
Merge pull request #2799 from dotCMS/issue-2780-plugin-merger-error

fixes #2780