They may be able to track their inventory, but they've also leaked 3 of my credit cards over the years, so it's not like they have reached the level of competency, they just know how many widgets they have.
Do you happen to know for sure that Home Depot was the actor that allowed the leak to occur, or a third party vendor (like their payments processor)?
I'm not insinuating that they aren't responsible either way. On the contrary - their internal stuff seems really good, so if it's a vendor issue, maybe the world needs a "Home Depot Payments".