Make the sentence simpler: They can adapt to any dense plant community so long as there is cover and openings to fly out.
They seemingly can adapt to virtually any dense native plant community as long as coverage and openings are widely available.