Add ccache collection iteration for DIR:: caches

When we attempt to traverse a directory-based ccache collection with a
name of the form DIR::residual, instead of just bailing out as we did in
the past, proceed, limiting ourselves to the named subsidiary.

RT#7172