Both of you are incorrect. It is not loki, it's promtail (although from the same source repo) and it is not a duplicate of the repo package because it builds from git not a release version.

The correct reason to delete this package is violation of VCS guidelines[2]: it must be named promtail-git.

- éclairevoyant

[2]: https://wiki.archlinux.org/title/VCS_package_guidelines#Package_naming