It's been said before in this thread. But one of the best ideas is to have it all be a dream.
Rey wakes up in a bunk, on board the Falcon while still en-route to Luke's island, she's in a sweat. "Oh god, I just had the worst dream!"
Cheesy, yes. But I'd be okay with it.