Fix detection of engine in rake db:load_config
Broken by d1d7c86d0c8dcb7e75a87644b330c4e9e7d6c1c1
Merge pull request #10640 from joelcogen/master

Fix detection of engine in rake db:load_config