A teacher participating in a local retirement fund shall not be eligible for membership in the retirement system.