bundler.sh ignores JSON path passed as argument

In the bash version, JSON config files passed as arguments are dropped on the floor and the bundler returns an error message instead of a path.