Fix typo in deleteImage

remote_image is a dict, not an object now.

Change-Id: I272b5c9742317af5424a7f5b44e02ec7f27cf213