Handle case if fmt_list or url_encoded_fmt_stream_map is empty

Calling map on empty string throws error, so return fmt_list = [] or
formats = []