Added a null check to PacketAnnotation.sync() to catch coding mistakes