Fix Pull result detection