Return None for get_var if the variable does not exist