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