Refreshing Repository Loop
### Describe the bug

Sometimes, the program stuck in "refreshing repository" state.

### Version & OS

Kactus 0.3.29
Mac OS X 10.15.5

### Steps to reproduce the behavior

I don't really know how to reproduce it, its common but very random


### Screenshots
![Screenshot 2020-07-09 at 09 31 55](https://user-images.githubusercontent.com/6722153/87018894-34b82e00-c1d2-11ea-8de9-df7734e88e1a.png)


### Logs

````
2020-07-09T08:46:29.292Z - info: [ui] [BranchPruner] Pruning 0 branches that have been merged into the default branch, production (1d3474f11586f811e8cefe7d07a4938ec75471f5), from 'mistica-design-libraries
2020-07-09T08:46:32.421Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 3.225s)
2020-07-09T08:46:32.421Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 3.104s)
2020-07-09T08:47:00.219Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.714s)
2020-07-09T08:47:10.255Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.723s)
2020-07-09T08:47:47.069Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.735s)
2020-07-09T08:48:10.981Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.730s)
2020-07-09T08:49:07.386Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.739s)
````

### Actual solution
Close Kactus and open

Here the logs 
````
2020-07-09T08:52:49.670Z - info: [ui] launching: 0.3.29 (Mac OS 10.15.5)
2020-07-09T08:52:49.671Z - info: [ui] execPath: '/Applications/Kactus.app/Contents/Frameworks/Kactus Helper (Renderer).app/Contents/MacOS/Kactus Helper (Renderer)'
2020-07-09T08:52:53.728Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 4.042s)
2020-07-09T08:52:54.452Z - info: [ui] Executing [Kactus] get kactus status (took 4.594s)
2020-07-09T08:52:59.806Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 4.614s)
2020-07-09T08:53:02.116Z - info: [ui] Executing exportCommit: git archive 1d3474f11586f811e8cefe7d07a4938ec75471f5 -o /Users/yayo/Library/Application Support/Kactus/previews/10/1d3474f11586f811e8cefe7d07a4938ec75471f5.tar (took 4.192s)
2020-07-09T08:53:02.130Z - error: [ui] Error in sketch preview callback
Error: Command failed: /usr/bin/tar -x -f 1d3474f11586f811e8cefe7d07a4938ec75471f5.tar -C 1d3474f11586f811e8cefe7d07a4938ec75471f5
tar: could not chdir to '1d3474f11586f811e8cefe7d07a4938ec75471f5'


    at ChildProcess.exithandler (child_process.js:308:12)
    at ChildProcess.emit (events.js:203:13)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:203:13)
    at Pipe.<anonymous> (net.js:588:12)
````