Make find_resampler_driver more robust