Currently we have two PubSub modules: cloud.google.com/go/pubsub/v2 and cloud.google.com/go/pubsub. These are separate modules, to be released separately - so need to have separate library IDs... but we use the library ID for generation etc.
(Filing as a bug due to it being an unexpected problem...)