Cleanup git-backup lock and gitlab-backup tempporary folder in defer-style
So that further git-backup pull
run can proceed, and many gitlab-backup's left $tmpd
don't eat up disk space.
Rework of https://lab.nexedi.com/kirr/git-backup/merge_requests/4.