Added the case not to check for zookeepers if we are not using
distrubuted