Parameter “PreserveNullStr” permit to not replace null result by an empty string.
<#TestVar setValue="<#nullstr>"> <#TestVar PreserveNullStr=1>
will Output
#2