(GEP-162) Fix publishing test without /v2/releases DELETE
(GEP-162) Fix publishing test without /v2/releases DELETE (2)

Additional fixes to make the maven build + tests pass.