If it fails (an exception raised) then the old repomanager will be still used and the exception will be caught by [the global pkg-bindings exception handler](https://github.com/yast/yast-pkg-bindings/blob/master/src/Y2PkgFunction.cc#L138) and `nil` will be returned (`nil` indicates an error in pkg-binding results).