Fix addimage issues

This patchset fixes two issues in addImage. One issue  where we'd assume an image was added when the client received 200 OK, and one issue where I broke my finger having to answer Y all night long.