Include image install flag when updating from anaconda flags. (#1066008)

(cherry picked from commit 2137d5e4eafd47e8a98dd2de4ad11df234351a32)