test for existence of statusBar

per the [status-bar readme][readme], existence of the status bar should
be checked before setting it.

[readme]: https://github.com/atom/status-bar/blob/598a88693d236195d502ba7f22080ebbbf1d9c64/README.md