Bug: LICENSE.TXT license declaration is showing up as the wrong license value in the Project information panel
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=451301)
</details>
<!--IssueSummary end-->
### Summary
Users declare licenses for their projects via the `LICENSE.TXT` file in GitLab. Users are required to copy and paste the license text, which is saved in the `LICENSE.TXT` file and propagated to the `Project information` side drawer. We should read from the license file and propagate the correct license name in the `Project information` side drawer.
Currently, we are inaccurately showing the license name, even though it has been properly declared by the user via the `LICENSE.TXT` file.
{width="217" height="443"}
### Steps to reproduce
1. Reference [this](https://gitlab.com/craigbarnes/lua-terminfo-parser/-/blob/master/LICENSE?ref_type=heads) public project
2. Note that the license is `GPLv3 only` in the `LICENSE.TXT`
3. Reference the project information drawer and see that the license is being displayed as `GNU General Public License v3.0 or later`, when it should be `GPLv3 only`.
### Example Projects
* https://gitlab.com/craigbarnes/lua-terminfo-parser#license (GPLv3 _only_, reported as GPLv3 or later)
* https://gitlab.com/craigbarnes/tally#license (GPLv2 _only_, misreported as GPLv2 or later)
* https://gitlab.com/craigbarnes/ltcn#license (ISC, misreported as 0BSD)
* https://gitlab.com/craigbarnes/lua-discount#license (ISC, misreported as 0BSD)
* https://gitlab.com/craigbarnes/lua-discount/-/commit/2c559f636ed82d0c8b1298096ae3b9764564addd (tricked into misreporting my own license)
### What is the current _bug_ behavior?
GitLab is not matching the license name to the license that is declared in the `LICENSE.TXT` file.
### What is the expected _correct_ behavior?
GitLab is able to accurately match the license name to the license that is declared in the `LICENSE.TXT` file.
### Relevant logs and/or screenshots
{width="469" height="234"}
###
issue