package/loader: Handle errors when retrieving package version info
Some package loaders might encounter errors while attempting to get
package info for a given version (HTTP error for instance).
So handle that case and ensure partial visit when such an error occurs.
Related to T4124