update pkgdir and remove old test case.

I did a build with $repo holding the packages but I really did not like it so I added $pkgdir back in so it puts all packages into $pkgdir.