Fixed support in kernel getCacheDir and getLogDir for %kernel.root_dir% parameter