fix: handle setting of NPM proxy correct
fix: handle setting of NPM proxy correct

The proxy result is an array and the script should set the first proxy
that was given. Before the array was set to npm config.

Fixed also the behaviour of 'DIRECT'. Now it does not set a proxy and
just continue without setting the proxy on npm.

derAndreas/atom-pac-proxy