Fix for mistake in e9ddb775, which we didn't catch due to test-s3-image only running on master branch.