It wasnt the falcon HoHo. It was another transport ship. It kind of looked like the ship Leia arrived in to save Han, Finn, and Chewie.
Maybe Leia hid her so Kylo would not know she was there becuse she sure seemed to know alot about the Falcon as well besides being there with it for a few...