pillar/__init__.py: use modern "except X as Y" syntax
Merge pull request #5924 from cvrebert/patch-3

pillar/__init__.py: use modern "except X as Y" syntax