Fix issue where install and test framework would hang if a repository was not found in the database.