Fix stupidity of packer not treating directory as such