fix support for directoriesToIgnore in bundle.json