TST: Remove else after except in tests for io.data.Options.
Also moved no tables found error to get_options_tables method (url was not defined in the get_option_data method).

Fixes #7561

perfect....squash it down and we'll get this in
 Ok. Squashed.
 thanks!
