Only print warning if git fails