Fix comaprison of NilClass with String, issue #1 https://github.com/archan937/ruby-mass/issues/1