fix exception when calling SentinelGetMasterAddressByName with an invalid service name