Enforce use of local cache during %install

Following https://github.com/npm/npm/issues/2568#issuecomment-30626394
and https://github.com/npm/npm/issues/3691#issuecomment-28441482