it doesn't work. AFAIK ```$dir``` directive to package only directory itself not the content.