improve case insensitivity of packetcache cleaning, plus silence coverity warning (possibly correct)