Although the current code does not do this, we need to check if the jobtracker String is null/empty else the "jobtracker.indexOf" will throw an NPE. Also, will be good to have a unit test for the null/empty conf settings.