Fix same-named directory.