Handle if the images were deleted in Glance

if the images were deleted in Glance,the openstackmanager
database still contains the image data,that might some
exceptions,so in every request, the process would check
the images. but this may redurce the efficiency.