pydist.py in Wheel.entrypoints, line 124:
name, path = config.items("console_scripts")[0]
That should be a loop, because packages can have multiple entry points.
(The example that led me to dig into this was https://pypi.org/project/robotframework/ which has three, robot, rebot, and libdoc - and if you wheel2deb the deb from https://pypi.org/project/robotframework/6.0.2/ in particular, you only end up with libdoc, which is the first entry in the entry_points.txt.)