quick fix for agent to support SLES

Quick fix for the workshop, spec test will come later.