Revert "Issue #2345285 by Berdir: Autoloader not a registered during instlalation"

This reverts commit bcdac1d6f2bd0389da2c2483aa5fa99ca79d5cdc.