Fix "Git Plus: Add (all)" without open editor

In the context, it would give a type error because `atom.workspace.getActiveEditor()` was `undefined`.

This type error did prevent "Add all" from working; "Add" could not have done much, but now instead of failing with a TypeError it returns a proper error message.