I always liked to phrase it as: "Never attribute to incompetence that which is adequately explained by incentives."
People like Hanlon's razor because it still lets them insult people they don't like. "incompetent" and "stupid" work about as well as "malicious" and "evil". I don't think anyone will ever give a name to a statement so...unsatisfying.