Fix exit if copy_template.sh not used correctly