Validate the name correctly when renaming bundles