Fix broken tests

Hotfix and release branches should have metadata appended.