Use Package rather than PackageSpec when determining diagnostic lists