xdg-mime checks if the item really exists, but not when storing
On https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922914 we observe xdg-mime does a check on if the item really exists, but it is only done on retrieving it. Not storing it. Why not both?