Change the variable name. (rpm_base_name -> base_name)