Fixed bug with NPE in case of empty tools list

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
Merge pull request #3 from synopsys-arc-oss/bugfix-npe-for-emty-toolslist

Fixed bug with NPE in case of empty tools list (JENKINS-18481)