Assuming you're using either Kshell or bash, this should work:
for dirname in *.packed.dir
do
echo mv $dirname ${dirname%%.*}
done
When you run this and the output looks good, delete the echo from the line to actually do the rename.
The syntax ${dirname%%.*} removes the longest string starting with a dot (.) to the end of the string contained in dirname. This will chop everything from the first dot to the end of the original name resulting in something like: