Unclear name collision error while importing project from GitHub

When you try to import GitHub project with the same name as an existing GitLab project, the error message says "An error occurred while importing the project" which doesn't give any concrete details on the name collision.

We have the necessary information availabe from the request (422 response):

{"errors":["Name has already been taken","Path has already been taken","Unable to save project. Error: Name has already been taken, Path has already been taken"]}