Improved producing NSError example

In the example it looked like in case a `NSError **` is not passed, we should just return `YES`, whereas we should return `NO` and just avoid to dereference the pointer.