Ignore devDependencies when the dev option === false

This makes it impossible for npm rebuild to only gather the non-devDependencies

fixes #30

ref https://github.com/npm/npm/issues/5952