CLOUDSTACK-4287: Template sync should remove template_store_ref entry
for corrupted template.