Make package list more robust.
Replace one additional format of extension directory.
Remove ext directory to prevent dangling symlink in -debuginfo.