When one directory was a substring of another the directory would appear as a subdirectory instead of a sibling Fixed originally by this: 6e03dd77e6 Broken by this: db6c8a019d Added integration test as this has bitten me before
6e03dd77e6
db6c8a019d