Close after switch branch

Related to https://github.com/zaggino/brackets-git/issues/222

I don't understand why `getDeletedFiles` `stdout` is always empty... Some help?

Thanks.