fixes #2640
Merge pull request #2642 from dotCMS/issue-2640-error-editing-copied-host

fixes #2640