remote: release strbuf after use in set_url()