inventory: Fix traceback in computer list if domain is None