Remove bitc:fixnode:preexit task, which uninstalled the apt version of node. It seemed to throw off the script, and it was never strictly necessary as n installs node in /usr/local, which preceds /usr in $PATH.