fixes #1971
Merge pull request #1973 from dotCMS/issue-1971-copy-templates-no-works-on-host

fixes #1971