Ensure detected extensions have valid package names