--template does not work

Issue : Could not use my personal template.

Resolution : always use the exposed templatePath variable instead of the private one