Allow classes to be registered properly from installer
Because otherwise extensions can cause the installer to explode when
they can't find their own classes at entry point.
I feel dirty.
Bug: 67440
Change-Id: I235fe58125fd49319963d949faffe024684755bd
(cherry picked from commit 248ac9e9b1af986ac3238b3b5291c6d046889347)