[fix] Be more defensive when looking for optional engines.

Speaks for itself.