Fixed exception when clicking 'save' without adding a photo
Fixed exception when clicking 'save' without adding a photo

This fixes an error that crops up when the user opens the photo dialog
and clicks save, without adding a photo.

closes #1875

mitodl/micromasters,mitodl/micromasters,mitodl/micromasters,mitodl/micromasters