Wrong file location when loading metadata from egg-info

When loading metadata from an egg-info dir, it seems the top level dir was misplaced in the locate() output.

For example for the file /usr/lib/python3.7/site-packages/pip/_internal/vcs/bazaar.py

The metadata in pip.egginfo points to src/pip/_internal/vcs/bazaar.py, so importlib_metadata.files("pip")[...].locate() returns a non-exist file: /usr/lib/python3.7/site-packages/src/pip/_internal/vcs/bazaar.py

I wonder what should be done to fix it? Does setuptools need to generate a better (but incompatible) egg-info or maybe importlib_metadata should not trust the location of SOURCES from egg-info?