Fix bug when no vm_template_content is provided for a role