make sure all package dirs exist