fixing custom template tag for retrieving settings

to display empty string instead of None