Avoid processing undefined photo URL