pillar: specify explicit exception type in `except` clause

```
************* Module salt.pillar
W0702:334,20:Pillar.render_pillar: No exception type(s) specified
```