Minor fix with new zap-api
Minor fix with new zap-api

JordanGS/zaproxy-plugin,JordanGS/zaproxy-plugin,jenkinsci/zaproxy-plugin,northdpole/zaproxy-plugin,northdpole/zaproxy-plugin,northdpole/zaproxy-plugin,northdpole/zaproxy-plugin,jenkinsci/zaproxy-plugin,northdpole/zaproxy-plugin,thilina27/zaproxy-plugin,thilina27/zaproxy-plugin