Updated CMPackage name validation