Check if are no engines enabled to avoid exception.

This raised an exception on `max([])`. Also print nice informative message in that case.