Fix package_name when using plain-file config