Fix a bug in the request parsing for local pkg information (introduced with the addition of pkg searching)