Do not scan for vm locks when listing all machines.

Fixes: #4830
Signed-off-by: Warren Usui <warren.usui@inktank.com>