Fix many-crates-but-no-match test. (Issue #16348)