Oh yes, the M/K lenses. If Pentax would AT LEAST put the manually set focal length into the Exif data, but they don't even do that, so there's not even that hint in the data for automatic processing.
And I guess there's no use in contacting them about it, since it's never going to reach their dev department, would it?
You can, however, look into the free "exiftool" program, which allows you to add Exif data to your images. If you _know_ which imgs used which pictures, you could add this information afterwards. In fact, I could add such a feature to my app as well, and make it work on Windows, too - it would then mainly be a front-end to exiftool, listing the lens that aren't identified, and giving you the option to selectively tag them with presets you can enter and save.