Fixe git.latest test=true changes check

Thanks @jasonrm for pointing out the problem.