See the tracker bug. if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || ... This is going to fail hard when RV is empty or has >1 value.
Fixed in the tree.