Fix error handling and add a test.

3 jobs for master in 5 minutes and 2 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #51498
mbr
test

00:01:46

passed #51499
mbr
test-chart

00:00:12

 
  Publish
passed #51500
build-latest-image

00:03:15