Anyway, here is modified pkgsrc/devel/scmgit-base/patches/patch-af. I can commit it after a few hours at least... If it works for you, please go ahead. This is really an upstream problem and a workaround seems fine.
Attachment:
pgpnUDFVQIq9o.pgp
Description: PGP signature