CLI is currently implement to finish with a non zero return code if anything logs the error. But when using multiple sources and some packages is only available on one source, the other sources will log an error that package was not found. In the end the package will be found and installed from the source that has it but CLI will still return a non zero return code making it seem like restore operation has failed even though it hasn't.