illumos/pkg: use correct variable for package version