fix the default value for PKGDIR