[misc] Use the right version of the xwiki resources when building the database
[cleanup] Fixed indentation