(GetScheme): fixed potential bug when looking up unknown encryption scheme.