Fix caching error found by regrtest -R (#10229)
1 file changed