Never ending "Import in progress" when attempting to import new project by git url

Summary

While trying to import a repo by url from Overleaf, the project gets stuck in an endless "Import in progress" loop.

Steps to reproduce

Get a link from Overleaf to your git repo. (In an Overleaf project: Menu -> Sync/Git). Create a new project in Gitlab, importing from a url. Enter the above mentioned link. Now you should be stuck in an "Import in progress" loop.

Example Project

Here is my project with this issue: https://gitlab.com/parmsib/5909c3dbff2f0925447f7798/import

What is the current bug behavior?

What I presume is the "homepage" of the project gets stuck in a loop where it says "Import in progress", then reaches some sort of new state for a moment, and then enters the "Import in progress" state again. I am unable to read what it says in the middle state, due to it changing so quickly.

What is the expected correct behavior?

I would expect it to either fail due to a timeout (or what ever seems to be the problem), or succeed once, and then not try to import it again.

Output of checks

This bug happens on GitLab.com