avoid writing empty s3cmd config if proper env is not configured