ij-legacy: work around limitations of the DummyLegacyService

We should not interact with the LegacyImageMap as long as the
DummyLegacyService is active.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>