Howdy ,
Thank you for reporting your issue. I have attempted a repro for this issue but have been unsuccessful so far. I went into the setting and enabled the ‘For Distribution’ checkbox. I was able to package successfully after doing that.
If you load up a new project, enable the checkbox, and package, do you receive that error or does it package for you? Any additional information would be greatly appreciated.
Thanks and have a great day!