Bugfix: If doesn't exist image.name, then it is not image (suppres ValueError: The 'avatar' attribute has no file associated with it.)