Fixed update errors when checkout failed on not commited changes

Since you do not support stashing those changes yet it fails with nasty `%!v(MISSING)` error, also fixed the `Git` error passing.