Fixes #5109: Cleanup environment before building rudder-agent-thin
Merge pull request #397 from Kegeruneku/bug_5109/int/5109_clean_enviroment_before_building_rudder_agent_thin

Fixes #5109: Cleanup environment before building rudder-agent-thin