packet != null

Change-Id: Id6bf4f2b56269549cfa78542ee820ffefcc1d537