init_repo: Make this fail cleanly if git is not installed