Since 6123dfaa72 this should not be necessary anymore.
6123dfaa72
This provides us with an easy command line to test this script. Because the test was so difficult to get running noone ever did, hence it broke badly quickly. Let's fix that.