Add support for disabling repository management

As the repo handling at least for the Debian-based case is not ideal and causes problems in our setup, there should be a parameter to disable the management of repositories. This pull request adds this feature without breaking the default behaviour.