simplifying refactor on rabbit_mnesia:discover_cluster