Fixed wrong cache dir variable used.