[RUBY-35] make sure host tokens are not nil