Allow creating empty inventory

Instantiating the Inventory class with host_list=None now results in an
empty inventory instead of an error.