Path deduplicator