Wouldn't the better fix for this be moving:
```
if settings.THUMBNAIL_PRESERVE_FORMAT:
    options.setdefault('format', self._get_format(file_))
```
before:
```
for key, value in self.default_options.items():
    options.setdefault(key, value)
```