block_device_mapping must be provided if image ref is empty

Cloudcafe tests in a separate PR