Fix issue in copying over template.
Merge pull request #1666 from mrunalp/bugs/php_setup_bug

Merged by openshift-bot