Some artifacts such as cursors, webview components etc. are
not being removed during builds, leading to increased ISO sizes.
Clean up scratch directory handling and code structure in an attempt
to find the cause.
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>