Use Package rather than PackageSpec when determining diagnostic lists

Rephrased to use commonly support ed package specifier