I'm less surprised by them leaving dead code around, honestly. I've seen that happen at virtually every company I've worked for.
What completely baffles me everytime I come across their story is that they repurposed an existing flag instead of making a new one! Why?