XWIKI-9288: Unable to finish creating an app with App Within Minutes
[misc] Code formatting and small improvement.