Handle SDV scan and refine

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Re-order refine because it vapourizes the SDV summary log

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>