fix url.resolve of remote_path that lacks trailing slash