Added function descriptions
Removed obsolete code
Constant-ized
Adapted to the new terminology
Moving variables out of functions

- Variables are used and modified in several functions
Repository cannot be added as enabled thus adding it as disabled

- Usually repositories cannot be probed if they are remote and
  network doesn't work (even if it's [somehow] configured)
- We cannot afford to just remove the repository, having it disabled
  keeps the possibility to enable it later
Changes file and a new version