InventoryDir: fixing yet another corner case
Merge pull request #8510 from sergevanginderachter/inventorydir_yacc

InventoryDir: fixing yet another corner case