Revert "Fixed resolving duplicate migrations using realpath"

This reverts commit b729558666b61a6183ed68f261a91b156a7bdadd.