Fixed the lost packages issue: if we have a nonempy __all__, we still
emit a file for the package