bug 951234: slaveapi shouldn't assume that a slave has a master. r=jhopkins