Fix NPM name validation.