patch_main.py can fail

If `git-bloom-patch export` is run from an incorrect location, retcode never gets initialized in path_main.py and one gets

```
UnboundLocalError: local variable 'retcode' referenced before assignment
```