Package.localPkg(): don't strip path prefix (RhBug:1034607)

When the repo is local, we don't download, so have to use the
full path.  Also cache the localpath attribute (yum compat).