Fix detect bundles in configuration