po.localPkg(): return the right localpath. (RhBug:1034607)

- smarter repo.local, so we don't have to parse baseurl again.
- fix po.localPkg() to work with local repositories.