Fix templates:if-parameter-unset

Function should be alike the -set function ; additional processing
steps are required