CLOUDSTACK-4210
   delete templateVO entry when there is no image store having this template