Unless is incorrect, should be `unless var.nil?`

Will submit a new pull request.