with GTID, it is possible that $master_log_file is not defined yet,
as it connects, with MASTER_AUTO_POSITION=1, it needs to find the
binlog file and position, using $master_uuid instead.