veil: Fix pkgver function.