write-pkg-readme requires the target dir

another typo fix for packages.