fixes #2267
Merge pull request #2270 from dotCMS/issue-2267-file-repo-macro-is-broke

fixes #2267