I would prefer "to be right" in general in life. It's not from the perspective of wanting to be a know-it-all, but because oftentimes injustice happens in the world and people are too cowardly to do anything about it because they're too busy trying to get everyone to like them. The desire to be liked does not by any means suggest that you are a kind or compassionate person. In an effort to be liked by everyone, someone might lie to everyone and do things that are detrimental to others (and then not own up to that fact hoping to not be caught in their lies). There are so many instances in history where people have been right and tried to reveal important truths about the world at the cost of being liked because, ultimately, it is better for the world to know about things and face reality. If the option is to be right and sometimes not liked (considering that not everyone will like you no matter what you do anyway) OR to be liked (and maybe have to constantly conceal what you really think/know), I would rather be right... I gather that this might be an unpopular opinion ;P
I think it's similar in the job situation too. Someone who wants to be liked might notice that the team is not living up to its potential but may not make a (polite) suggestion about how to improve for fear of being disliked (because many people don't like the idea of changing their habits or trying new methods). This could mean the team/company is complacent because no one wants to "rock the boat" and push for a better way to do things.