Only patch PDCClient when it's installed
The code can cope with PDCClient not being installed but the tests did
not.
With this commit, the tests only patch PDCClient if it is installed
thus allowing both the code and the tests to cope with this library
being missing.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>