Fixed a bug in the package config