Yup the commit was intented to ensure that only constant (which stops at the end of the first run) so value 2 does not loop the animation.
Before only cycle would loop which was preventing the other animation modes like relative, relative from current and yoyo to loop.
It is a bug fix related to Loop Mode Yoyo, Relative, Relative Current Not Working With CreateAndStartAnimation Method