Fixed error handling when retrieving the package list fails (packages-X.xml)