Let's change `IMAGE_DIR_` to `imagePathPrefix` and add strict comparison to `typeof IMAGE_DIR === 'string'`.