IMG-681: Let S3 errors bubble out so they can be handled in a better place.
Environment var could be undefined or just empty.