s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal()