Update this to be easier to understand.
They would get on buses that would leave them at unofficial border crossings maintained by the Jordanian military.
They would get on buses that would leave them near the border.