Skip the repository tables when importing a theme (see #6037)