Fixed D-Bus method get_tab_name which could return illegal NoneType value instead of string