I think it's a little different from that actually. That's normally about the merits of ongoing financial investment, but I get your analogy and there should be a name for it because you see it all the time from compsci types.
How about "sunk knowledge fallacy" or something like that?
How about "sunk knowledge fallacy" or something like that?