Since current canon has never explained where exactly that was and what was going on there, it could be retconned into a vision of a potential future. A similar thing happens with the latest version of this project, where the Rathtar sequence is repurposed in the vision for Rey losing Finn.
“Always in motion is the future.”