- cleanup after failed create-config (bnc#863578)

You want me to use rm? Why? I would use a system-call for cp if it would exist.

And you really want extra functions to avoid 4 duplicate lines?