SERVER-8444 Print stack trace when ReplSetTest.getMaster() fails