Only read first line of minion_id, Fixes #17687
Merge pull request #17968 from basepi/issue_17687

Only read first line of minion_id