Revert "Ensure that directory is expanded in package-vc-checkout"

This reverts commit bf0b0c9c.
It is only needed in Emacs 29.
4 jobs for master in 54 minutes and 32 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Build Images
passed #77827
build-image-inotify

00:43:26

 
  Normal
failed #77828
test-lisp-inotify

00:11:05

passed #77829
test-lisp-net-inotify

00:11:03

passed #77830
test-src-inotify

00:04:54

 
Name Stage Failure
failed
test-lisp-inotify Normal
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
$ find ${test_name} -type d -depth -exec rmdir {} + 2>/dev/null
Uploading artifacts...
test-lisp-inotify-fb4b0b30/: found 119 matching files
Uploading artifacts to coordinator... ok
id=77828 responseStatus=201 Created token=zB8xiNik
Uploading artifacts...
test-lisp-inotify-fb4b0b30/junit-test-report.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=77828 responseStatus=201 Created token=zB8xiNik
ERROR: Job failed: exit code 2