It shall be the duty of every contractor, who shall make contracts for the installation or repairs for which a permit is required, to comply with state and local rules and regulations concerning licensing which the applicable governing authority may have adopted. If the state requires a contractor to have obtained a state license, the contractor shall supply the local government with the license number before receiving a permit.