red-brick-image: enhanced config file check