The fact that the accused intended to restore the property embezzled, is no ground of defense or mitigation of punishment, if it has not been restored before an information has been laid before a magistrate, or an indictment found by a grand jury, charging the commission of the offense.