Fixed fetching inventory when UseHTTPInventory is disabled