fix for #3064, context menu actions for packages

@ussuri
As above, a more precise type would be nice (I guess `Container`?).