advpack: Add nullcheck for parameter that can be null (Coverity)

Merge request reports

Loading