Uses 2 separate conditionals for evaluating the options hash in
CapybaraExtensions::Locators#image_locator.