Fixes to Jenkins slave init and class