fix --registry not take effect
Merge pull request #952 from spmjs/spm-client-fix

fix --registry not take effect