De-register the unavailable image in the cleanup