Use Cabal's Distribution.Text/Distribution.Package to validate package names