Fixing an IllegalArgumentException related to custom repair configs.