CID#1093227: check for (unlikely) null return value

Change-Id: Idca2df07ffdc41b67bf7e126ebec3243501b9cb5