Move DistributionManager.getManager into a right place in ElementDiscoverTask