Try to solve a rare and unfrequent bug when metadata return a None uri