Inserts default locale site item only when migrating to tree structure

This prevents adding a locale site item with status 0 that prevents adding
the locale site with a different status later in the setup process
Merge pull request #663 from nsendetzky/master

Inserts default locale site item only when migrating to tree structure