salt.utils: fix pylint W0702 "No exception type(s) specified"
Merge pull request #5754 from cvrebert/patch-2

salt.utils: fix pylint W0702 "No exception type(s) specified"