Why were the Germans called Jerries?

Despite the common mistake that jerry comes from the sound the Ger in the word German makes, Jerry actually refers to the Helmets worn by the Germans during WWI, which to their opponents resembled Chamber Pots, or Jerries.