fix: wrong return code
wrong test of not yet commited changes