[build-in-chroot.sh] Workaround makepkg for SCM packages when the download and build processes are split