ci/bare-metal: Fix capturing of serial output as job artifacts.