Registry scanning is kind of a myth.
The thing is, registry itself cannot contain any malware. What it may contain, though, is references to malware (e.g. saved in an on-disk file). Avast (and other AV's - AVG included) scan the registry to find these references.
Of course, what I just said is bit oversimplified but you got the point.
Thanks
Vlk