qbs: Updated rip_environment function