Github import fails for `.emacs.d` (even with local rename)

Summary

Import project from GitHub fails when github repo name starts with a . (dot).

Steps to reproduce

Create a repo on github.com named .emacs.d. Try to import it to gitlab.com. Be sure to change the gitlab.com project name to emacs.d, since we know gitlab.com repos must start with a letter, a digit, an emoji, or an underscore.

Now, rename the github project to emacs.d. Import succeeds. (Well, it says "Import in progress", which is better than it said before I renamed it and tried again.)

Output of checks

This bug happens on GitLab.com

Edited by David Loyall