ContactInfoCache: add null check

Change-Id: Idf29916fe71df4934b40b30ecff03be6cf9ab100