Fix formatting of exception in _get_steps