Persisting the template name for deployments

All deployments will have names, though.  This is just for instances created prior to the change on line 15 above.