Handle Guzzle exceptions when querying Packagist