Update for pkgid
Merge pull request #22 from cmr/pkgid

Update for pkgid