Fixed a bug in package/package_settings

Some ruby versions raised the following exceptions during validation of
the package_settings:

implicit argument passing of super from method defined by
define_method() is not supported. Specify all arguments explicitly.

This commit fixes it.