Fix crash on start when node_config.json exists without private key