As far as I know and understand, the situation is the following:
The replay is recorded incorrectly by SC2, stating that it was a 1v1 game (when clearly it was a team game).
Therefore the team info (e.g. in which team was a player) is parsed incorrectly.
Whether a player won or lost is correct.
These info are consistent: the Game info tab shows the same result as returned by the plugin API.
If this is not the case, please write concrete example (replay with the listed data, both from the game info tab and returned by the plugin API).