PERI-22 fix faulty config parsing