Contacts: Null check local group query result

Change-Id: I1240c73362ea946b906ecb9ecd27a2bcb0b8e545
Merge remote-tracking branch 'cm/cm-11.0' into kitkat