Hanle the flavors or images deleted from the nova

if the flaovr or image were deleted from the nova,
the template should handle it or it would raise errors.