KAFKA-20746 NPE in MetadataCache#toCluster (#22723)