apt now uses module function to find bin paths

this wont fix reported problem but now module is not dependant on path/env on client side