Allow non-simulations because we have a whitelist

This is mainly needed for debugging in bug 886928.
This also fixes DOMAIN which was defined twice.