The if for $ensure is unnecessary

The if is unnecessary and the module fails when used with ```$ensure == 'absent'```. Fix this problem.

Moreover, as execs have refreshonly enabled, the if is unnecessary