fix block device generator

Signed-off-by: Chuck Short <chuck.short@canonical.com>