Section 164. In registering applications for employment and for employees wanted, preference shall be given to residents of the commonwealth.