avoid creating temporary package NPM dirs when nothing has changed