Rescue only the 404s to probe the API version, let RestClient raise any other errors.