Handle NoPackagesFound error in JSON