Fixed resolving duplicate migrations using realpath