AWS_BUCKETNAME is only needed in order to write on the bucket, but read-only access should be allowed for other environments. Fixes bug introduced by 6c3b610610
6c3b610610