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
Merge pull request #5976 from hulu/refactor-weird-try-except

avoid unusual try-except; use if-else instead