wrepl_server: use a local 'local_owner' variable to make the code more readable