fix incorrect field name of pkg object

I think that name field does not exist in object pkg. It must be package