Wouldn’t you be so dumb you would see where Třinec is and you would understand that I was grown listening to all three: Czech, Slovak and Polish languages.
Based on this experience I am saying that hard “G” sound is in both Czech and Slovakian language. 
Being rare or being in loan words only has nothing to do with existence of the sound.