remote-testgit: properly check for errors