get_url_file_name: make no slash equal empty string