fetch/clone: check return status from ls-remote