Give emacs a little bit more information to work with, otherwise emacs will believe that the paths returned by clojure are local to emacs and they are not.

`/Users/userA/some/path/to/jar/file` is very different from `/home/userB/some/path/to/jar/file` and `/ssh:user@host:/home/user/some/path/to/jar/file`

The last path was not available to emacs at all, causing it to fail when `M-.` was used via an nREPL connection to a remote host.