A keeper is nearly always on the goal line unless coming out to claim the ball, in which case the ball has already been played, so I think maybe the linesman was just concentrating on the last defender and mentally ignored the keeper.
You can see from post 100 that it's poor defending because...