Thats not entirely correct. They will drop the item in the closest inventory along the path that has space, but if there are forks in the pipes it will choose randomly.
It basically examines a path from transfer node to end, choosing randomly at forks, and dropping the items in the first place...