utils: Config: getEnum() now compatible with strings