Fix Pkg.generate() with default `config`