There is actually the problem as some server part got included along a client side application. Modules for the NodeJS packages got defined there as well and although just specific files could be selected for the build process, there seems to be no reason to check for multiple package.json in the first place (which also leads to less function calls during the ongoing comparison).