The given $REPOS variable may also point to a suite, not only a codename.

Reprepro accepts suite names as aliases for codenames so we should do so too.
Parse list of components dynamically from Release file instead of using "main".
Don't include sources, in sources.list. They're not needed for building.