Check isArray instead of not undefined
Check isArray instead of not undefined

Added a potential fix for #29 by checking whether the state data for the
current pane is an array (instead of just not undefined) when closing a
tab.

ericcornelissen/pinned-tabs-for-atom