Moved extension handling to Packager::run()