Return '' when var_name is supplied, but set the value to None as appropriate.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>
Updated test

In this test, we use template logic to emit 'DNE' if the page is not found and the AsTag returned None.

Signed-off-by: Martin Koistinen <mkoistinen@gmail.com>