
Includes: * One of the functions querying for apps did not correctly specify the repository the repos came from. * Fix deletion code which refered to incorrect field. * Cleanup code style in some places.
Includes: * One of the functions querying for apps did not correctly specify the repository the repos came from. * Fix deletion code which refered to incorrect field. * Cleanup code style in some places.