Code

+ Move reset handling before object creation, otherwise no
drwxr-xr-x - branches
drwxr-xr-x - trunk