salt.crypt: fix pylint W0702 "No exception type(s) specified"
Merge pull request #5757 from cvrebert/patch-5

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