Fix node-info to show right node version

Currently, node-info shows nothing if $version is different than 'none'.