Fixes compilation error and makes the Qualys integration fail more gracefully.