core: MachineIndex sets paths to nil if empty