[Locator] Proper return value handling for Ketama.