Fixed issue with deleting plugins on case sensitive systems.
Make sure the latest version of a plugin is unpacked if multiple versions exists.