FORGE-1898: Calling Packages.toValidPackageName when setTopLevelPackage is called