Fixed usage of dict.get() in _html_class_str_from_tag function