The fact there wasn't a good Karlach ending tied to the Upper City found in the files isn't necessarily grim. Maybe one was intended but it didn't make it into the game's files before the Upper City was cut. Maybe one was still in production and the last minute rewrite forced them to shelve it for the time being. Maybe they simply ran out of time before release so they just released what they had knowing they would have unlimited time and money to fix it after the game was released. Maybe one wasn't intended until everyone hated the endings we got. There's lots of explanations that aren't "the devs hate Karlach".