Corrected a typo in dir2pkg.