lock: make do_summary() respect --machine-type

Signed-off-by: Dan Mick <dan.mick@inktank.com>