dir.c::test_one_path(): work around directory_exists_in_index_icase() breakage