Issues missing when importing Gitea projects with . in path
<!---
Please read this!
Before opening a new issue, make sure to search for keywords in the issues
filtered by the "regression" or "type::bug" label:
- https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression
- https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=type::bug
and verify the issue you're about to submit isn't a duplicate.
--->
### Summary
<!-- Summarize the bug encountered concisely. -->
Gitea allows `.` in user, organization, and repository names. Such Projects imported from Gitea are missing issues or pull requests in the created GitLab project.
### Steps to reproduce
<!-- Describe how one can reproduce the issue - this is very important. Please use an ordered list. -->
- Create a Gitea project that has a `.` in its `<owner>/<repository>` path, i.e. either in the owner or repository name.
- Create issues, pull requests, milestones, issue labels in that projects for test purposes.
- Import the Gitea project according to https://docs.gitlab.com/16.4/ee/user/project/import/gitea.html
### Example Project
[Imported results](https://gitlab.com/herra_kettu/migration-test.org) from a project with `.` in Giteas owner name.
[Imported results](https://gitlab.com/herra_kettu/migration-test-org) from the same project after the `.` was removed from the owners name. Note that this project shows one issue and one merge request that where missing before.
### What is the current *bug* behavior?
<!-- Describe what actually happens. -->
The import is shown as complete and a project on GitLab is created. However the project is missing issues and pull requests.
### What is the expected *correct* behavior?
<!-- Describe what you should see instead. -->
The project is imported same as if the project name would not contain a `.`
### Output of checks
<!-- If you are reporting a bug on GitLab.com, uncomment below -->
This bug happens on GitLab.com
issue