(bug #3329) Dependency missing in inventory.pl