Improve reporting of duplicated labels from renamed .rpycs.

Fixes #452.