Fix artifact generation for macos and windows
Running `./mach package` when building for these platforms in broken due to our changes.
This ticket is a companion ticket for https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/41444
issue