[OSX] Make sure the body is not null in `get_text`.

Should help for #37, though can't repro here.