I'm not always adding a photo, so make the deletion of the temporary photo conditional on its existance