The Galaxy Population Hosting Gamma-Ray Bursts