Fixed MESOS-1058: check failure in the master.

Review: https://reviews.apache.org/r/18828

@airbnb/di