[lnst] PacketAssert: bugfix and code cleanup