CPU information wouldn't get filled in

Looking for the exact "CPU" string in the field, it will only ever trigger in the block with the first line.
Using slice will do what I believe was the intended behavior
Merge pull request #2 from Faeriol/patch-1

Fix cpu info management