Add description of functions and do not use list as variable name.
Simplify logic and not abuse len
Remove useless FIXME.
Remove unused mock for function.
Do not test the project build/openQA if we don't have any ring pkgs in the staging project.
Add switch wether to commit to Factory or not during accept.