Adapt to new output of 'docker inspect'
'docker inspect' now outputs nothing when an image doesn't exist. Take advantage of that to test for the existence of an image.