test: Make pending build logs available

Closes #518
`path.Base`