coverity#1213064 Dereference after null check

Change-Id: Icf80cff1f68e85bf9103aedc95ccca80e2d32681