fix delete photo command trying to print non-existant filename