Don't raise error when generating a post if git is not installed