Set the attribute is set to an empty array if absent

A package.keywords entry of 'app-portage/eix ' should be parsed to set
keywords to [] isntead of nil.
Handle empty strings passed in package_* resources

Values like '' or [''] should be converted to [] for the provider to
parse correctly.