Fix grains in case python-jenkins not installed

Change-Id: I83b9f6f51cfdd774ce2710edcebc33adea66dc73
1 file changed