This assertion will fail if no releases exist in a new repo (which is always true). Did you run this integration test?