fix: fixed the problem that an error on git clone was not handled correctly