Merge improvement.

The file `packages' shouldn't contains package name which doesn't have
any class file.