Update nminit.py

fix issue about NameError: global name 'controllerpubkey' is not defined