Make sure there's no exception if collective.leadimage is installed and obj.image is set to NamedImage/NamedBlobImage.

Fixes #8.