_init_cache function do not throw an exception anymore
update the error message into the exception concerning the cache directory