Fix /proc/cmdline parsing when newline characters are present

Should fix bnc#887844
Way better, you're right. I'll change it.