Repeting $name fails. Change parameter to $package

Two resources with the same $name fails. Using package allows repetition of the "Package" entry.