check that cache directory exists before removing it. Fixes nasty stack dump when it does not.
check that cache directory exists before removing it.
Fixes nasty stack dump when it does not.

ucb-sejits/ctree,ucb-sejits/ctree,mbdriscoll/ctree