Rpm -ql is listing the file but the file is not getting installed in the right location of target machine.
Either:
someone removed that file. In that case simple dnf reinstall your_package
will fix it
or the file is marked as %ghost http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html that is usually for log files. You do not want them to ship, but a package should own them.