Ensure master in replica set for travis test