The scene with them repairing the Falcon is when Jana reveals that she was a former storm trooper. One can assume they finished up repairs and headed back to base. I didn’t think it was a huge leap.
I mean it doesn’t really hurt my enjoyment of the film, I still liked it, but it does seem a little jarring