Gamma-ray bursts from dusty regions with little molecular gas