In this case we can not validate OCIO configuration and the only way to fix such issues is to add NULL-pointer checks..