I guess magit
must explicitly check whether "tidy_html5_DEV-Linux-64bit.tar.xz" is a
directory first.
Thanks. Jonas just implemented that fix in Magit[1].
With that, this debbugs is auto-resolved. But I will leave it open for Michael to decide, and he can close this debbugs by marking it as done.