Getafe played all but six minutes of the game with 10 men but looked to be heading for a famous victory.