Test if cache directory exist before cleaning