Telephony: fix reverese lookup gms logic detection

Logic was reversed so the entry is removed if gms is there and other
way round.

Change-Id: Ibad1c3bde8bc0786470f35ee3e5ee5c2401cd4ef