Add null pointer handling in Instagram retriever