fix npm/npm#4896 - workaround for joyent/node#7288

fix npm/npm#4896 - workaround for joyent/node#7288