Fixing error warnings in debug mode.
Bug: Can't proceed unless there's at least 1 bucket in S3.