Making getPackageDbDir strict.