It's not wrong, it just doesn't do what you think it should. It was designed as a strict mirror of the /usr/share/appdata directory, so that the solvers didn't need to load the big filelists metadata.