Persisting the template name for deployments

Defaulting an empty deployment name feels like something that should probably happen up at the UI, not down here in the remote agent.