The department of transportation and any contractors, including cities and counties, performing work funded by the department of transportation are exempt from the provisions of this chapter. Moreover, local governments are exempt from the requirement of obtaining a certificate of appropriateness under this chapter; provided, however, that a local government shall notify the commission forty-five (45) days prior to beginning an undertaking that would otherwise require a certificate of appropriateness and allow the commission an opportunity to comment. The forty-five (45) day notice provision required herein shall not be applicable if the affected local government, in its discretion, deems it necessary to begin the undertaking prior to the expiration of said forty-five (45) days to promote the safety, health, peace, security and general welfare of the local government and its inhabitants.