RAZ-3033: Importing images from an Amazon bucket throws error
- Fixed missing var issue