Copying a git checkout verbatim into /tmp/pkh-build-*/ ships '.git', flipping autotools' building-from-VCS detection (GNU hello's BUILD_FROM_GIT): the shipped man page gets cleaned and regenerated via help2man, which is correctly not in Build-Depends. Skip VCS dirs (.git/.hg/.svn/.bzr/CVS) in local/unshare/ssh copies, and prune them after an unshare overlayfs mount.