admin_socket: don't bother remote executing if there is no test
(cherry picked from commit e805b7d62e3e6642ea6361a41eec9b2fdef72596)