Polyakov loop and the Hadron resonance gas model