Add 'but' from robotframework/robotframework#1877

See robotframework/robotframework#1877 for details.