This reverts commit ce0e86cf. The check is necessary if 'ENGINE' is an empty string. Thanks apollo13 for pointing this out.