More updates for run-build-packages.sh:

* more code cleanups
* create node manager package

No issue #