The former world No. 3 was replaced by a lucky loser hours before he was set to face Lorenzo Musetti in the first round.