Check to not add the same extension twice