BUG: get_options_data should validate it's arguments GH6105

closes #6105