You raise an interesting point, especially since Nah-to is how many continental Europeans say it.
That said, in Germany, Netherlands and France I have only heard a hard G in .gif, though all developers I have talked to in those countries pronounced .jpeg as “jay-peg”.