A conditional limit theorem for tree-indexed random walk