only prune when node_modules directory is restored from cache. Fixes #75
Merge pull request #80 from heroku/only-prune-on-cache-restore

only prune when node_modules directory is restored from cache. Fixes #75