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