Fix artefact_retriever error handling

This was blowing up for low-level errors that didn't have a HTTP status code.