Fixed more git commands

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Use sqlite as fallback if dsn not setup

Signed-off-by: Tom Wright <tom@inflatablecookie.com>