Makes sense to change cmd.get_object_list(...) to return empty lists instead of None in case of empty selections?
def get_object_list(selection="(all)", quiet=1, *, _self=cmd):
'''
DESCRIPTION
"get_object_list" is an unsupported command that may have
something to do with querying the objects covered by a selection.
'''
selection = selector.process(selection)
with _self.lockcm:
r = _cmd.get_object_list(_self._COb,str(selection))
r = r or []
if not quiet:
print(" get_object_list: ",str(r))
return r