Fix syntax check of the package name