use standard logic to verify package name