macosx: contacting an app using SBApplication can fail, be a bit more conservative to prevent runtime exceptions