remote-curl: ensure that URLs have a trailing slash