Allow shutdown when no engines are registered.
Added missing quotes.
Merge pull request #2769 from dhirschfeld/clean-shutdown2

Allow shutdown when no engines are registered