Preserve non-registry options in ~/.npmrc

The bug was introduced by 5db99864.