fix for #3064, context menu actions for packages

@ussuri
Ah, I've made a mistake. I meant to say "packagesDir", not "projectDir". Never mind though, I'll fix it myself.