Fixes #6102: Allow numbers in package names, BZ1047811.