The provisions of this chapter relative to securing permits shall not apply to officers or employees of the village engaged in doing work for the village, nor to persons or corporations doing work for the village under contract; nor to persons or corporations which are operating under a franchise or grant from the village if such franchise provides for the making of excavations and tunnels without securing a permit.
('70 Code, § 3.1.26)