pub fn pick_first_existing(dirs: &[PathBuf]) -> Option<PathBuf>
Pick the first existing directory from a search-path list.