[PATCH 2/2] avoid waiting on empty task list in newRepo tasks