Suggested replacement for deprecated publication.name is not implemented

Looks like the suggested way is to fetch the first channel of the publication and use its handle (channels.nodes.handle) instead.

See here and here.