Hmm, it seems you're right.
Actually, the file is not deleted (it's handled according to the reference count - so if the other program installed it correctly, it will stay there). The problem is that the library is unregistered - which has mostly the same effect.
It should be fixed in the future builds. Sorry for the inconvenience.