Significantly speed up pkgdetails by using grep to narrow down the parsing.