re-instate check for package name