Git: Return true when asked to close a editor that is not open

Change-Id: I645c371c0ca94cef9885475f580ed463fc643b2a
Reviewed-by: Orgad Shaneh <orgads@gmail.com>