jackalope/jackalope — comment on commit 91e47e9b3fe6fb2c409256d7cbe6e16e366217da
File: src/Jackalope/Transport/Jackrabbit/Client.php line 1547
By dbu:

i think currently this case can never happen because the transport lock() method is only for session locks and thus always passes the path to the owning node. but i add the exception nonetheless, to make sure it won't get unnoticed when somebody implements getLock