Minor cleanups for configChoiceField.py (unused variables, whitespace)
Improve error message for unknown key in RegistryField