Fixed bug in test harness that caused repositories to be lost when new ones were deployed to