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