Add filter for package name according to spec. Add pkgname to validate.