Set the modchooser version during packaging.

Fixes #5055.