Use the correct addon name in addon generated package.json.

Closes #2040.