Fix PM2 installation as root error per https://keymetrics.io/2014/08/26/pm2-0-10/.
Merge commit 'e171a59cac7f768c18ab95c9d86a0f2c968c9d56'