sshpeer: fix path when handling invalid url exception
In 73ed1d13c0bf the code was refactored but the error handling seems to have
been missed (or maybe the object shoud have implemented __bytes__)
#require docutils gettext $ $TESTDIR/check-gendoc fr checking for parse errors