Persisting the template name for deployments