Fix partial matches to SSID.

Fixed SSID Foobar matching profile Foobarbaz with stricter grep regex.