I’ve speculated that it was done to provide cover. Democrat activists in this state wanted Governor McCrory out very badly, more so than they wanted to prevent Trump from winning the Presidency. Several have stated so outright and publicly.
That sounds like post-election revisionism that is not uncommon from losers. If Clinton had won and McCrory had won, they'd be saying they wanted her to be president more than they wanted him out.