ipy workaround: Test for the actual bug before applying the workaround

Signed-off-by: Michael Buesch <m@bues.ch>