Guard against null connectivity service.

- Using e.g. xposed privacy module can cause this NPE, however, docs
also mention it might return null if service is not avail.