fix #11358: set image format after import

Fixes http://trac.openmicroscopy.org.uk/ome/ticket/11358. Try importing images and then,
```sql
select image.name, format.value from image, format where image.format = format.id;
```
--no-rebase as problem reported to be 5.0-specific.