sensord: fix the bug about calling get_client_name