Temporary fix for npm

Temporary remedy for #1302, until `npm` fixes the issue.
Please expand the comment to point to the npm issue (https://github.com/npm/npm/issues/5905). This will make it easier to understand what it's about later.