TOOLS-296: conditionally disable 'direct' connection mode with replset-formatted hostnames