[BUGFIX] Avoid double slash in cache directory