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)

Merge request reports

Loading