Make Repostirory_as_iter shorter

Error_set already returns NULL