kc: make sure current environment ccache is also listed
kc: short-circuit the checks for invalid ccaches
kc: detect DIR:: caches when the same DIR: cache is in environment