Fix platform reinstall with existing installed plugins