Only read first line of minion_id, Fixes #17687