CB-6939 Replace dash chars in package name and validate it.