Yeah, I can confirm this bug exists.
How to replicate it:
1. Join a custom game lobby.
2. Leave or get kicked from that lobby.
3. If the game launches and/or finishes, it is put on your custom game record as a loss.
I had this happen once when I was kicked for not wanting to play a 2v2 with an Easy AI as my partner (who does that?) vs two humans.