[FUEL-813] Small refactoring for method 'create_engine'