main: check node id is not noneid
Merge pull request #1080 from coreos/check_id

main: check node id is not noneid