Prevent Cache.ensure from throwing an error, while the directory already exists.