Wikipedia article on hypocorism:
Hypocorisms of first names are commonly based on truncation, only keeping the first (Max) or last (Hans) syllable(s), sometimes in contracted form as these examples show. Often the ending -i is added to these truncated nameforms.
Ignaz → Nazi (Bavarian; out of use)
can't really imagine why