Don't add Nuget package twice to ReferencesFile - fixes #454

`packageName` is not used in any way, it can be removed.