Fix ``rsyncdirs`` usage with pytest 6.0.