mkcloud: fix checks in crowbar restore