SERVER-7176: return better error message from pathsupport::findLongestPrefix
add missing set-parameters for replication slaves