I get the following error when I run with your pull request: 

    'Runner' object has no attribute 'undefined_steps'

I am running with behave 1.2.3. Is it possible you are running an older version that has undefined_steps instead? When I change back to `runner.undefined` things work as expected