Define, when possible, the inventory_dir variable