avoid exception if missing url for amazon s3