remove popen4 gem
improve replicaset environment checks