inventory: Fix computer list traceback in registry case