ensure that node modules aren't detected even when deeply nested