s3-registry: Check return code of push_reg_sz().