fix minetest.get_inventory(loc) always returning nil for "node" type loc