fixes ##2837 add an interface to add repositories to kickstart

also clean up old methods that where ment to do the same but doesn't
work anymore.