Fix keyerror 'replset' when config replset is set to yes
Fix keyerror 'replset' when config replset is set to yes

bencer/sd-agent-plugins,bastiendonjon/sd-agent-plugins,bencer/sd-agent-plugins,bastiendonjon/sd-agent-plugins,shanethehat/sd-agent-plugins,shanethehat/sd-agent-plugins