use pkgsize instead of flatsize for repo size

Should fix: https://github.com/freebsd/pkg/issues/1130