SERVER-9130: use isMaster instead of replSetGetStatus for prompt generation