s3:idmap_autorid: remove redundant code