Ticket #24646 - Fix to not throw an error if engine is set to an empty string.