LPS-45107 Check if the basic web content structure exists. If not, it is added, otherwise used.

This improvement has been caught during our internal continuous deployment process, where basic web content structure has already been created using the UI. This code prevents that errors in the middle of an upgrade process affect database state cc/ @alonso