Fix /proc/cmdline parsing when newline characters are present

Should fix bnc#887844
Please, add parenthesis (see https://github.com/SUSE/style-guides/blob/master/Ruby.md#parameters).