coverity#704961 Dereference after null check

Change-Id: I6acca68cbebf149f7ac7f18fa0011e7f3d20a957