Fix crash if request has no cache path.