Clean up the install_repository method in twilltestcase.py. Fix the update manager test when running all functional tests.