fix config search for imageChooser, so that it also includes local flags (tiny, but important!)