Issue #3507 - Aegir compatibility (with dummy content disabled)

This patch at least allows to install the site in Aegir without WSOD issues, with sane defaults set automatically.