Wrap some long lines.
Condition on result of call, rather than existing of function!

This is a small test for an unlikely condition, but should be corrected.