Fix path issues with inventory.