Fixes #5740: Do not copy a file from a template if the template does not exist
Merge pull request #141 from Kegeruneku/bug_5740/int/5740_do_not_copy_a_file_or_template_if_the_source_does_not_exist

Fixes #5740: Do not copy a file from a template if the template does not...