avoid unusual try-except; use if-else instead

```
************* Module salt.states.win_servermanager
W0106: 40,8:installed: Expression "__salt__['win_servermanager.list_installed']()[name]" is assigned to nothing
```