fix(git): lock state repo for each transaction avoiding script aborts
This fixes the issue that a Git operation may already be running on the state repo leading to an error which subsequently aborts db operations.
Fixes #32 (closed)
Signed-off-by: Levente Polyak anthraxx@archlinux.org