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__)
local test passedaddgroupcopy test passedclone test passedlowlevelcopy test passedslicing test passedissnapshot test passedfindsnapshot test passed