Correcting PKGDATADIR bug