minion: fix pylint W0702 "No exception type(s) specified"
Merge pull request #5758 from cvrebert/patch-6

minion: fix pylint W0702 "No exception type(s) specified"