Check for DummyConfig in disk_size.

Fix issue #8 .