Added a check for location to be set

If there is no definition for the location we retrieved from .wlans for the
ssid, display a meaningful message and exit.