Fix intermittently failing random edition test
Fix intermittently failing random edition test

This was failing in cases where locale is nil on the generated edition.

alphagov/publishing-api,alphagov/publishing-api