CLOUDIFY-1958 check if the template stored in the deployment configuration is null before add the template context property.