fix erroneous "there is a new version" message when the server returns a bad HTTP status code