It is not an error for a barclamp to be missing a template.
Also skip importing attributes if none are defined.
merge template import approach