...but the waf script still tries to clone the original git dir and fails, see https://launchpadlibrarian.net/445469670/buildlog.txt.gz
the waf script calls ./tools-for-build/fetch-git-revision.sh
you can look into that file and try to change it so that if the requested revision is available on the git db, then just call git checkout without a git fetch.
you may try to modify the script so that when git fetch fails then it's ignored, while hoping for the best for the upcoming git checkout.