Reverting "fix `ido-merge-work-directories`"
Revert "fix `ido-merge-work-directories`"

This reverts commit a1ac8f97ecb4a0cbb4764210048484fe96074c65.