Program.Main: ERROR: An item with the same key has already been added

I was having the same issue after renaming a blueprint-only project.
All I had to do was to go and delete the Intermediate folder in my project, and then package again.