Fixed a bug in the client that improperly set the failed_health_check flag for packages.