See the tracker bug. elif [ ! version_is_at_least 2.1.2 $REPLACING_VERSIONS ]; then This is going to fail hard when RV is empty or has more than one value.
This is fixed in 2.1.2-r1. Thanks for the report.