Extract version from pkgmeta