See the tracker bug. if [[ ${REPLACING_VERSIONS} < 1.13 ]] ; then Doesn't account for empty RV or having >1 value. Furthermore, < is lexicographical string comparison, so 10 < 1.
Fixed as part of bug 705266.