replay: Handle externals targeting the same path
It exists cases where externals defined on a directory target the same path so ensure to support that edge case.
Related to #611
Fixes some events in SWH-LOADER-SVN-53
Depends on !118 (closed)
Migrated from D7092 (view on Phabricator)