Work around npm bug

Based on:
https://github.com/travis-ci/travis-ci/issues/2244#issuecomment-55473829