Fix policy import, got broken when checking for duplicate policy keys.