Clean the temporary directory the UBI image is generated from before generation. Currently it is removed after the image generation, which leads to files possibly not being cleared after a build failure in this step. Signed-off-by: David Bauer <mail@david-bauer.net>