fix getting the root package's extra