fixed use of opt/ignore dicts in config/image.py
(#401)