strip '\n' at the end of lines in outputs of 'yum list-sec'