fix Robot initialization so it can run in headless (Travis CI) mode