Additional fix for issue 2965.

CacheStat returns tristate (succeeded/failed/unknown), not bool, so
tweak return values yet again.
(cherry picked from commit 95ea4f698a385f7f8e6158ef60b058cac123cffc)