Will this condition ever be hit? Seems like the find_repository would fail before this was ever reached.