s3:net registry import: fix the return code when transaction commit fails