Fix MDS wait when get_mds_status returns None