ruby: make sure argument is not nil, see #get_example_line_num_in_spec_file