fix directory calculations without --git
drwxr-xr-x bin
drwxr-xr-x helpers
drwxr-xr-x lib