be more aggressive in converting distname to distpkg

This fixes Net--RabbitMQ and Text-Tabs+Wrap