Fix EZP-23194: Notice on the final step of setup wizard

> https://jira.ez.no/browse/EZP-23194

Added a safeguard clause.

(cherry picked from commit 614cebd758690fd04f4361148a30b066cdde95fc)