Make sure no duplicate entries end up in the source-map

This makes sure no duplicate entries are visible in the source-map.