Proposed fix for #3929 (letsencrypt can not be activated when a new website gets created). Needs testing.
mentioned in issue #3929 (closed)