Potential fix for local vs global install detection

Refs: https://github.com/jspm/jspm-cli/issues/258