[PATCH 5/5] nwmodem: add NULL check