Fix CID-1219920 Dereference before null check