When you ungarrison units, they ALWAYS come out on the north east edge of the building, even if the rally point is in a totally different direction.
This is an advantage for a player on the north/east side of the map. When ungarissoned, units should exit the building at the perimeter closest to the rally point.