Null check in PeerID.